export const inviteInfo = [
  { prop: 'name', span: 24, placeholder: '请输入', label: '姓名', type: 'input' },
  { prop: 'department', span: 24, placeholder: '请输入', label: '部门', type: 'input' },
  { prop: 'phone', span: 24, placeholder: '请输入', label: '电话', type: 'date' },
  { prop: 'remark', span: 24, placeholder: '请输入', label: '备注', type: 'date' },
  { prop: 'notice', span: 24, placeholder: '请输入', label: '通知书', type: 'date' }
]

export const inviteInfoRules = {
  name: [
    { required: true, message: '请输入姓名', trigger: 'change' },
    { pattern: /^[\u4E00-\u9FA5]+$/, message: '姓名必须为中文', trigger: 'change' }
  ],
  department: [{ required: true, message: '请输入部门', trigger: 'change' }],
  phone: [{ required: true, message: '请输入电话', trigger: 'change' }],
  remark: [{ required: true, message: '请输入备注', trigger: 'change' }],
  noticeUrl: [{ required: true, message: '通知书必传', trigger: 'change' }]
}
